<script language="javascript">
function selcheck() {
  var objs = form1.getElementsByTagName("input");
  for(var i=0; i<objs.length; i++) {
    if(objs[i].type.toLowerCase() == "checkbox" )
      objs[i].checked = true;
  }
}
</script>
<div class="height12"></div>
<div id="main">
<div id="user_ding">
<div class="position">您现在的位置：首页	用户中心</div>
<div class="height12"></div>
<!--左列开始-->
<?{include file="useradmin/_left.html"}?>
<!--左列结束-->
<div id="user_r">
	<div class="user_r_t"><div id="userltotal">订单信息管理</div></div>
	<div class="user_r_b">		
		<table width="100%" align="center" cellpadding="1" cellspacing="1" bgcolor="#0066CC"> 						 
			<tr>
			  <th colspan="7" bgcolor="#DFF6FF" style="color:#006699;"> 订单号：
				  <?{$arrData.deal_no}?>
			  </th>
			</tr>
			<tr>
			  <td width="5%" bgcolor="#FFFFFF" >&nbsp;序号</td>
			  <td width="29%" bgcolor="#FFFFFF" >&nbsp;产品名称</td>
			  <td width="15%" bgcolor="#FFFFFF" >&nbsp;产品型号</td>
			  <td width="17%" bgcolor="#FFFFFF" >&nbsp;产品品牌</td>
			  <td width="10%" bgcolor="#FFFFFF" >&nbsp;产品单价</td>
			  <td width="10%" bgcolor="#FFFFFF" >&nbsp;购买数量</td>
			  <td width="14%" bgcolor="#FFFFFF" >&nbsp;小计金额</td>
			</tr>
			<?{foreach from=$arrData.product key=key item=detail}?>
			<tr >
			  <td bgcolor="#FFFFFF" >&nbsp;<?{$detail.product_id}?></td>
			  <td bgcolor="#FFFFFF" >&nbsp;<a href="/product/detail.php?id=<?{$detail.product_id}?>" target="_blank">
				<?{$detail.product_title}?>
			  </a></td>
			  <td bgcolor="#FFFFFF" >&nbsp;<?{$detail.product_model}?></td>
			  <td bgcolor="#FFFFFF" >&nbsp;<?{$detail.product_brand}?></td>
			  <td bgcolor="#FFFFFF" >&nbsp;<?{if $arrData.is_largess != 2}?>￥<?{/if}?><?{$detail.product_price}?></td>
			  <td bgcolor="#FFFFFF" >&nbsp;<?{$detail.product_count}?></td>
			  <td bgcolor="#FFFFFF" >&nbsp;<?{if $arrData.is_largess != 2}?>￥<?{/if}?><?{$detail.product_price*$detail.product_count}?></td>
			</tr>
			<?{/foreach}?>
						  
		</table>
		<br>

		<table width="100%" align="center" cellpadding="1" cellspacing="1" bgcolor="#0066CC" >
			<TBODY>
				<TR>
				  <Th colspan="6" bgcolor="#DFF6FF" >
				  <font color="#006699">订购人信息</font>		 
				  </th>		    
				 </tr>
				<tr>
				<td width="12%"  bgcolor="#FFFFFF" >订购人登陆名：</td>
				<td  bgcolor="#FFFFFF" >&nbsp;<?{$arrData.user_name}?></td>
				<td  width="10%"  bgcolor="#FFFFFF" >真实姓名：</td>
				<td  bgcolor="#FFFFFF" >&nbsp;<?{$arrData.contactor}?></td>
				<td width="10%"  bgcolor="#FFFFFF" >Email：</td>
				<td  bgcolor="#FFFFFF" >&nbsp;<?{$arrData.email}?></td>
				</tr>
				<tr>
				<td  bgcolor="#FFFFFF" >电话：</td>
				<td  bgcolor="#FFFFFF" >&nbsp;<?{$arrData.tel}?></td>
				<td  bgcolor="#FFFFFF" >手机：</td>
				<td  bgcolor="#FFFFFF" >&nbsp;<?{$arrData.mobile}?></td>
				<td  bgcolor="#FFFFFF" >邮编：</td>
				<td  bgcolor="#FFFFFF" >&nbsp;<?{$arrData.postcode}?></td>
				</tr>
				<tr>
				<td  bgcolor="#FFFFFF" >地址：</td>
				<td colspan="5"  bgcolor="#FFFFFF" >&nbsp;<?{$arrData.address}?></td>
				</tr>
				<tr>
				<td  bgcolor="#FFFFFF" >公司：</td>
				<td colspan="5"  bgcolor="#FFFFFF" >&nbsp;<?{$arrData.company}?></td>
				</tr>
		
		
				<form method="post" action="detail.php">
				<TR>		  
				  <Th colspan="6" bgcolor="#DFF6FF" >
				 <font color="#006699">总金额：<?{if $arrData.is_largess != 2}?>￥<?{else}?>积分<?{/if}?><?{$arrData.intBonus}?> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				  订单状态：</font>
				  <?{foreach from=$arrMType key=key item=type_id}?>
					<?{if $key==$arrData.type_id}?><?{$type_id}?><?{/if}?>
				  <?{/foreach}?> 

				  </th>
				 </tr>
				 <input type="hidden" name="deal_no" value="<?{$arrData.deal_no}?>" />
				 </form>
			</TBODY>	 
		</TABLE>	
	</div>
	<div class="height12"></div>
	<div id="page"><?{$strPage}?></div>
</div>
</div>
</div>	
<div class="height12"></div>